package com.wang.pojo;

import com.wang.sqlsession.SqlCommandType;

/**
 * Created by wangq on 2021/6/29.
 *
 * 存放sql文件的解析结果
 */
public class MappedStatement {
    private String id; // sql语句id标识

    private String resultType; // 返回值类型

    private String parameterType; // 参数类型

    private String sql; // sql语句

    private SqlCommandType sqlCommandType; // sql语句操作类型

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    public String getParameterType() {
        return parameterType;
    }

    public void setParameterType(String parameterType) {
        this.parameterType = parameterType;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public SqlCommandType getSqlCommandType() {
        return sqlCommandType;
    }

    public void setSqlCommandType(SqlCommandType sqlCommandType) {
        this.sqlCommandType = sqlCommandType;
    }
}
